public Car01 class extends Bx {
    private int mumber;
    private double price;
    private double money;
    public Car01(int number,double price){
        this.number = number;
        this.price =price;
    }
    public double add () {
        if(number==0){
            money = price*0.02;
        }
        return money;
    }
}
